4.2 Rearranging

Integrals and derivatives can be commuted, distributed and factored.

Left and right moves are used to rearrange operands within integrand and derivand as well as within integrator and derivator – when the latter are non trivial. This is the same as left and right moves in any other expression. However, interesting cases occur when the subject is at the extreme left or right of an integrand.

Distribute rearranges all the summands. Applied to y_i(x)→.{∫x^2+x-2 ⅆx}, the integral is replaced with the sum of integrals: y_i(x)→∫x^2 ⅆx+∫x ⅆx-∫2 ⅆx. Applied to ⅆ3⋅x^2-2⋅x+1ⅆx, the derivative is replaced with the sum of derivatives: ⅆ3⋅x^2ⅆx-ⅆ2⋅xⅆx+ⅆ1ⅆx.

Factoring reverses these changes, providing a sort of inverse. Applying Factor to y_i(x)→.{∫x^2 ⅆx+∫x ⅆx}-∫2 ⅆx yields y_i(x)→∫x^2+x ⅆx-∫2 ⅆx.